<% title "Attendances" %>
<%= render :partial => 'breadcrumbs' %>
<table class="admin_listing">
  <tr>
    <th>Employee</th>
    <th>Clock in time</th>
    <th>Clock out time</th><th></th><th></th><th></th>
  </tr>

<% @attendances.each do |attendance| %>
  <tr>
    <td><%=h attendance.employee_id %></td>
    <td><%=h attendance.clock_in_time %></td>
    <td><%=h attendance.clock_out_time %></td>
    <td><%= link_to 'Show', attendance %></td>
    <td><%= link_to 'Edit', edit_attendance_path(attendance) %></td>
    <td><%= link_to 'Destroy', attendance, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

